package com.glsc.ngateway.common.base.domain.mysql.gateway.platform;

import com.glsc.ngateway.common.base.domain.mysql.gateway.oaflow.TOaFlowMetaTable;

import java.util.List;

public class Flow {

    private String flowName;

    private String workFlowId;

    private List<TOaFlowMetaTable> fields;

    public Flow(String flowName, String workFlowId, List<TOaFlowMetaTable> fields) {
        this.flowName = flowName;
        this.workFlowId = workFlowId;
        this.fields = fields;
//        detailmap.put("flowFieldName",flowFieldName);
//        detailmap.put("interfaceFieldName",interfaceFieldName);
//        detailmap.put("fieldType",fieldType);
//        detailmap.put("isRequired",isRequired);
//        detailmap.put("isDoc",isDoc);
//        detailmap.put("detailIndex",detailIndex);
//        detailmap.put("isPerson",isPerson);
    }

    public Flow() {
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public String getWorkFlowId() {
        return workFlowId;
    }

    public void setWorkFlowId(String workFlowId) {
        this.workFlowId = workFlowId;
    }

    public List<TOaFlowMetaTable> getFields() {
        return fields;
    }

    public void setFields(List<TOaFlowMetaTable> fields) {
        this.fields = fields;
    }
}
